using Ninject.Modules;
using ODT.Intellisense.Core;
using ODT.Intellisense.Services;
//using ODT.Intellisense.ViewModels;

namespace ODT.Intellisense
{
	public class ExternalBindings : NinjectModule
	{
		public override void Load()
		{
            Bind<IInferCaretIndexService>().To<InferCaretIndexService>().InSingletonScope();
            Bind<IInputProcessingService>().To<InputProcessingService>().InSingletonScope();
            Bind<IIntellisenseDatabaseService>().To<IntellisenseDatabaseService>().InSingletonScope();
            Bind<IWordProcessingService>().To<WordProcessingService>().InSingletonScope();
            //Bind<IIntellisenseFactory>().To<IntellisenseFactory>().InSingletonScope();
            Bind<IntellisenseControl.IIntellisenseProcessor>().To<IntellisenseControl.IntellisenseProcessor>();
		}
	}
}
